From ad0d2d59289ffa88a0e7f3ae4c5d22abea41c2a0 Mon Sep 17 00:00:00 2001 From: Purodha B Blissenbach Date: Sun, 25 Jan 2009 15:42:46 +0000 Subject: [PATCH] message attribute changed, *CSS* may be intranslateable, thus needing a lang= attribute. --- includes/specials/SpecialPreferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index 74a8ec8293..cfe4798154 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -872,7 +872,7 @@ class PreferencesForm { if( $skinkey == $this->mSkin ) { $cssPage = Title::makeTitleSafe( NS_USER, $wgUser->getName().'/'.$skinkey.'.css' ); $jsPage = Title::makeTitleSafe( NS_USER, $wgUser->getName().'/'.$skinkey.'.js' ); - $customCSS = $sk->makeLinkObj( $cssPage, wfMsgHtml('prefs-custom-css') ); + $customCSS = $sk->makeLinkObj( $cssPage, wfMsgExt('prefs-custom-css', array() ) ); $customJS = $sk->makeLinkObj( $jsPage, wfMsgHtml('prefs-custom-js') ); $extraLinks = " ($customCSS) ($customJS)"; } -- 2.20.1